package com.vogue.supplymall.order.domain.model;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "refund_order")
public class RefundOrder extends TendBaseEntity implements Serializable{
	 /**
     * 订单id
     */
    private Long orderid;
	 /**
     * 退单编号
     */
    private String refundnumber;
    /**
     * 系统注册号id
     */
    private Long syscodeid;
    /**
     * 退单备注
     */
    private String memo;
    /**
     * 运费
     */
    private BigDecimal freight;
    /**
     * 实付款价格（总价+运费）
     */
    private BigDecimal finalprice;
    /**
     * 禁用标志
     */
    private Boolean disabledflag = false;
	/**
	 * 退货原因
	 */
	private Integer cause;
	/**
	 * 退款方式
	 */
	private Integer refundway;
	/**
	 * 自动生成退单的标识 0:否 1:是
	 */
	private Boolean autoflag = false;

	public Boolean getAutoflag() {
		return autoflag;
	}

	public void setAutoflag(Boolean autoflag) {
		this.autoflag = autoflag;
	}

	public Long getOrderid() {
		return orderid;
	}
	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}
	public String getRefundnumber() {
		return refundnumber;
	}
	public void setRefundnumber(String refundnumber) {
		this.refundnumber = refundnumber;
	}
	public Long getSyscodeid() {
		return syscodeid;
	}
	public void setSyscodeid(Long syscodeid) {
		this.syscodeid = syscodeid;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public BigDecimal getFreight() {
		return freight;
	}
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	public BigDecimal getFinalprice() {
		return finalprice;
	}
	public void setFinalprice(BigDecimal finalprice) {
		this.finalprice = finalprice;
	}
	public Boolean getDisabledflag() {
		return disabledflag;
	}
	public void setDisabledflag(Boolean disabledflag) {
		this.disabledflag = disabledflag;
	}

	public Integer getCause() {
		return cause;
	}

	public void setCause(Integer cause) {
		this.cause = cause;
	}

	public Integer getRefundway() {
		return refundway;
	}

	public void setRefundway(Integer refundway) {
		this.refundway = refundway;
	}
}
